package test;

import java.util.Map;

public class Attributes {
	private String id;
	private String rel;
	private String mdata;

	public Attributes(String id, String rel, String mdata) {
		super();
		this.id = id;
		this.rel = rel;
		this.mdata = mdata;
	}

	public Attributes(Map<String, String> attributesMap) {
		super();
		this.id = attributesMap.get("id");
		this.rel = attributesMap.get("rel");
		this.mdata = attributesMap.get("mdata");
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getMdata() {
		return mdata;
	}

	public void setMdata(String mdata) {
		this.mdata = mdata;
	}

}
